<template>
  <nav class="nav-bar">
    <NuxtLink to="/" class="nav-logo">IT工具集</NuxtLink>
    <div class="nav-links">
      <NuxtLink to="/" class="nav-link">首页</NuxtLink>
      <NuxtLink to="/tools" class="nav-link">工具</NuxtLink>
      <NuxtLink to="/about" class="nav-link">关于</NuxtLink>
    </div>
  </nav>
</template>

<style scoped>
.nav-bar {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  color: #4ade80;
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-link {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #4ade80;
}

.router-link-active {
  color: #4ade80;
}
</style> 